package com.example.capsule;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 时光胶囊应用主类
 */
@SpringBootApplication
@EnableScheduling // 启用定时任务
public class FaintlightCapsuleApplication {

    public static void main(String[] args) {
        SpringApplication.run(FaintlightCapsuleApplication.class, args);
        System.out.println("时光胶囊应用启动成功！");
        System.out.println("Swagger UI: http://localhost:8080/swagger-ui.html");
        System.out.println("API文档: http://localhost:8080/api-docs");
    }
}